package cvc.framework.entity;

public class Camera {
    private Integer cameraId;
    private String cameraName;
    private String rtmp;
    private String resolution;
    private String frameRate;

    public Integer getCameraId() {
        return cameraId;
    }

    public void setCameraId(Integer cameraId) {
        this.cameraId = cameraId;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public String getRtmp() {
        return rtmp;
    }

    public void setRtmp(String rtmp) {
        this.rtmp = rtmp;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public String getFrameRate() {
        return frameRate;
    }

    public void setFrameRate(String frameRate) {
        this.frameRate = frameRate;
    }

    @Override
    public String toString() {
        return "{" +
                "\"cameraId\":\"" + cameraId +
                "\", \"cameraName\":\"" + cameraName + '\"' +
                ", \"rtmp\":\"" + rtmp + '\"' +
                ", \"resolution\":\"" + resolution + '\"' +
                ", \"frameRate\":\"" + frameRate + '\"' +
                '}';
    }
}
